package cn.kgc.qnbbs.Service;

import cn.kgc.qnbbs.pojo.Detail;
import com.github.pagehelper.PageInfo;

public interface DetailService {
    public PageInfo<Detail> select(Integer pageNum,Integer pageSize,Integer sortId);
    public Integer add(Detail detail);
    public Detail selectById(Integer id);
    public Integer update(Detail detail);
    public Integer delete(Integer id);
}
